import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:led_wall_simulator/http_service.dart';
import 'package:led_wall_simulator/screen_page.dart';

void main() {
  Get.putAsync(() => HttpService().init());
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return GetMaterialApp(
      debugShowCheckedModeBanner: false,
      title: 'Led Wall Simulator',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const ScreenPage(),
    );
  }
}
